/*
 * Copyright 2018 JDCLOUD.COM
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *    http:#www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 *
 * 
 * 
 *
 * 
 * Contact: 
 *
 * NOTE: This class is auto generated by the jdcloud code generator program.
 */


using System;
using System.Collections.Generic;
using System.Text;

using JDCloudSDK.Charge.Model;

namespace JDCloudSDK.Nativecontainer.Model
{

    /// <summary>
    ///  container
    /// </summary>
    public class Container
    {

        ///<summary>
        /// 容器ID
        ///</summary>
        public string ContainerId{ get; set; }
        ///<summary>
        /// 容器状态
        ///</summary>
        public string Status{ get; set; }
        ///<summary>
        /// 实例类型
        ///</summary>
        public string InstanceType{ get; set; }
        ///<summary>
        /// 可用区
        ///</summary>
        public string Az{ get; set; }
        ///<summary>
        /// 容器名称
        ///</summary>
        public string Name{ get; set; }
        ///<summary>
        /// 域名和IP映射的信息
        ///</summary>
        public List<HostAlias> HostAliases{ get; set; }
        ///<summary>
        /// 主机名
        ///</summary>
        public string Hostname{ get; set; }
        ///<summary>
        /// 容器执行命令
        ///</summary>
        public List<string> Command{ get; set; }
        ///<summary>
        /// 容器执行命令的参数
        ///</summary>
        public List<string> Args{ get; set; }
        ///<summary>
        /// 动态指定的容器执行的环境变量
        ///</summary>
        public List<EnvVar> Envs{ get; set; }
        ///<summary>
        /// 镜像名称
        ///</summary>
        public string Image{ get; set; }
        ///<summary>
        /// 镜像仓库认证信息名称
        ///</summary>
        public string Secret{ get; set; }
        ///<summary>
        /// 容器是否分配tty
        ///</summary>
        public bool Tty{ get; set; }
        ///<summary>
        /// 容器的工作目录
        ///</summary>
        public string WorkingDir{ get; set; }
        ///<summary>
        /// 根Volume信息
        ///</summary>
        public VolumeMount RootVolume{ get; set; }
        ///<summary>
        /// 挂载的数据Volume信息
        ///</summary>
        public List<VolumeMount> DataVolumes{ get; set; }
        ///<summary>
        /// 主网卡所属VPC的ID
        ///</summary>
        public string VpcId{ get; set; }
        ///<summary>
        /// 主网卡所属子网的ID
        ///</summary>
        public string SubnetId{ get; set; }
        ///<summary>
        /// 主网卡主IP地址
        ///</summary>
        public string PrivateIpAddress{ get; set; }
        ///<summary>
        /// 主网卡主IP绑定弹性IP的ID
        ///</summary>
        public string ElasticIpId{ get; set; }
        ///<summary>
        /// 主网卡主IP绑定弹性IP的地址
        ///</summary>
        public string ElasticIpAddress{ get; set; }
        ///<summary>
        /// 主网卡配置信息
        ///</summary>
        public InstanceNetworkInterfaceAttachment PrimaryNetworkInterface{ get; set; }
        ///<summary>
        /// 辅助网卡配置信息
        ///</summary>
        public List<InstanceNetworkInterfaceAttachment> SecondaryNetworkInterfaces{ get; set; }
        ///<summary>
        /// 容器日志配置信息
        ///</summary>
        public LogConfiguration LogConfiguration{ get; set; }
        ///<summary>
        /// Tags
        ///</summary>
        public List<Tag> Tags{ get; set; }
        ///<summary>
        /// 计费配置信息
        ///</summary>
        public JDCloudSDK.Charge.Model.Charge Charge{ get; set; }
        ///<summary>
        /// 创建时间
        ///</summary>
        public string LaunchTime{ get; set; }
        ///<summary>
        /// 容器终止原因
        ///</summary>
        public string Reason{ get; set; }
        ///<summary>
        /// 容器描述
        ///</summary>
        public string Description{ get; set; }
    }
}
